home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 8
/
FM Towns Free Software Collection 8.iso
/
t_os
/
artemis
/
artsrc2
/
gdsploc.asm
< prev
next >
Wrap
Assembly Source File
|
1994-06-01
|
884b
|
60 lines
; 私製ライブラリ・グラフィック篇
; (c) MATSUUCHI Ryosuke in Dec,1992
;
; gdsploc.asm
;
; 1992. 8. 2(Sun)
; 1992.12.28(Sun)
public gdsploc, _gdsploc
include grplib.inc
assume cs:cseg, ds:dseg
dseg segment dword 'DATA'
dseg ends
cseg segment dword 'CODE'
;---------------------------------------------------------------
; _gdsploc : 画面の表示開始位置の設定(現在の書き込みページ)
; in EAX,EBX:表示開始位置
;
; void gdsploc(int x, int y);
;---------------------------------------------------------------
gdsploc proc
push ebx
pushfd
mov ah,2
mov al,1 ;仮想画面中の移動
mov dx,[esp+8+4]
mov bx,[esp+8+8]
call _callEGB
popfd
pop ebx
ret
gdsploc endp
_gdsploc proc
pushad
mov dx,ax
mov al,2
mov ah,1 ;仮想画面中の移動
call _callEGB
popad
ret
_gdsploc endp
cseg ends
end